import {createStore} from 'redux';
import rootReducer from './reducers';

const store = createStore(rootReducer/*,除了在各reducer内设置初始状态,也可以在这里设置. 且这里传递的参数优先级 比直接在reducer里写的高*/);

export default store;
